/**
 * Created by Administrator on 2017/2/21.
 */
(function (app) {
    app.controller("contactsController", contacts);
    function contacts($scope, $rootScope) {

        $rootScope.title = 'Contact'

        $(document.body).on('tap', '.mui-btn', function (e) {
            $(this).button('loading');
            setTimeout(function () {
                $(this).button('reset');
                mui.toast('提交成功', {duration: 'long', type: 'div'})
            }.bind(this), 2000);
        });
    }

})(angular.module(APP_NAME));
